package kr.hkit.powerjava.chapter11.submit;

public class Maganize extends Book {

	String issueData;

	public Maganize(String name, String author, int page, String issueData) {
		super(name, page, author);
		this.issueData = issueData;
	}

	public String getIssueData() {
		return issueData;
	}

	public void setIssueData(String issueData) {
		this.issueData = issueData;
	}

	@Override
	public String toString() {
		return "[매거진 명=" + name + ", 저자=" + author + ", 총 페이지=" + page
				+ ", 발행일 =" + issueData + "]";
	}

	public static void main(String[] args) {

		Maganize m = new Maganize("maps", "addiction", 153, "14년 9월 호");
		System.out.println(m);
	}

}
